<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
  </head>
  <body>
    <script>
      var length = 10
      function fn() {
        console.log(this)
      }

      var obj = {
        length: 5,
        method: function(fn) {
          fn() // 10 window
          arguments[0]() // 2 arguments
        }
      }

      obj.method(fn, 1) //输出是什么？
    </script>
  </body>
</html>
